package com.fristvue.po;

import java.io.Serializable;
import java.util.List;
/**
 *商品实体类
 * @author 
 */
public class Goods implements Serializable {
    /**
	 * java序列化机制,如果传过来值类型一致则进行反序列化
	 */
	private static final long serialVersionUID = 1L;

	private Integer goodsId;  //商品ID

    private String goodsName; //商品名字

    private String goodsImg; //商品图片

    private Double price; //商品价格

    private Integer count; //商品库存

    private String onSale; //商品是否在售
    
    private List<GoodsType> goodsType; //商品类型n
    
    private Integer goodsTypeId;

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsImg() {
		return goodsImg;
	}

	public void setGoodsImg(String goodsImg) {
		this.goodsImg = goodsImg;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getOnSale() {
		return onSale;
	}

	public void setOnSale(String onSale) {
		this.onSale = onSale;
	}

	public List<GoodsType> getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(List<GoodsType> goodsType) {
		this.goodsType = goodsType;
	}

	public Integer getGoodsTypeId() {
		return goodsTypeId;
	}

	public void setGoodsTypeId(Integer goodsTypeId) {
		this.goodsTypeId = goodsTypeId;
	}

	
}
